﻿using NewFormatProject.Infrastructure.Atrributes;
using NewFormatProject.Infrastructure.Dto.Requests;
using NewFormatProject.Infrastructure.Dto.Responses;
using NewFormatProject.Infrastructure.EFCore;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace NewFormatProject.Server.Interfaces
{
    [ProvideClassOrInterface]
    public interface ILoginServer
    {
         Task<ResponseApiDto> Login(RequestLoginDto dto);
         LoginLogs GetLastLoginLog(int uid);
         Task<ResponseApiDto> GetLoginLog(int uid, int page, int limit);
        Task<ResponseApiDto> GenerateTestUsers();
    }
}
